export default {
    treeData: [],
    defaultProps: {
        children: 'childrens',
        label: 'categoryName'
    },
    pageData : {
            classfiyData:'',
            dialogVisible:false,
            categoryId:'',
            listLoading:false,
            addChild:false,
            editChild:false,
    },
    addData:{
            categoryName:'',
            categoyPicture:'',
            ordinal:'',
            parentId:'',
            parentName:'',

    },
    addclassfiyRule:{
        categoryName:[
            { required: true, message: '请输入名称', trigger: 'blur' }
        ]  
    },
    pagefileUrl:[],
    total:0,
    addTotal:0,
    fileList:[],
    list:{
        thead:[
            {label:'排序',prop:"ordinal",rowspan:1},
            {label:'属性名称',prop:"attrName",rowspan:1},
            {label:'属性用途',prop:"attrPurpose",rowspan:1},
            {label:'是否关键属性',prop:"isKeyAttr",rowspan:1},
            {label:'是否必填',prop:"isNeed",rowspan:1},
        ],
        tbody:[]
    },
    addChildList:{
        thead:[
            {label:'属性名称',prop:"attrName",rowspan:1},
            {label:'属性编辑方式',prop:"attrEditType"},
        ],
        tbody:[]
    },
    childStatus:{ 
        isShow:'1',
        attrEdit:false

    },
    delList:[], //勾选删除的列表
    delAttrList:[],//勾选删除属性的列表
    addAttrList:[],//新增属性多选列表
    showPage:{//控住右边显示状态
        childMain:false,
        addChildClassfiy:false,
    },
    attrList:{
        categoryName:'',
        categoryPicture:'',
        ordinal:''
    },
    EditAttrList:{
        attrName:'',
        attrNameId:'',
        attrPurpose:'',
        isKeyAttr:'',
        isNeed:'',
        ordinal:'',
        goodsCategoryAttrId:'',
        other:'',
        dgAttr:''
    }
    

    

}
